import React from 'react'
import { Result, Button } from 'antd';
export default class NotFound  extends React.Component {
    constructor() {
        super()
    }
    render() {
        return (
            <Result
    status="404"
    title="404"
    subTitle="抱歉,您访问的页面不存在"
    extra={<Button type="primary" onClick={()=>{
        this.props.history.push('/admin')
        console.log(this.props);
        
    }}>返回首页</Button>}
  />
        )
    }
}
